<script setup lang="ts" name="App">
import { Local } from '@/utils/storage';
import { onMounted } from 'vue';
import { useLayoutConfigStore } from '@/stores/layoutConfig';

const layoutConfig = useLayoutConfigStore();

onMounted(() => {
    const layoutConfigState = Local.get('layoutConfig');
    if( layoutConfigState ) layoutConfig.updateState(layoutConfigState);
})
</script>

<template>
    <div class="h100">
        <router-view></router-view>
    </div>
</template>

<style scoped>

</style>
